<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
<title>ForwardingExtractorInput (ExoPlayer library)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="ForwardingExtractorInput (ExoPlayer library)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.google.android.exoplayer2.extractor</a></div>
<h2 title="Class ForwardingExtractorInput" class="title">Class ForwardingExtractorInput</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.google.android.exoplayer2.extractor.ForwardingExtractorInput</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code>, <code><a href="../upstream/DataReader.html" title="interface in com.google.android.exoplayer2.upstream">DataReader</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ForwardingExtractorInput</span>
extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a>
implements <a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></pre>
<div class="block">An overridable <a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor"><code>ExtractorInput</code></a> implementation forwarding all methods to another input.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(com.google.android.exoplayer2.extractor.ExtractorInput)">ForwardingExtractorInput</a></span>&#8203;(<a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a>&nbsp;input)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#advancePeekPosition(int)">advancePeekPosition</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Advances the peek position by <code>length</code> bytes.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#advancePeekPosition(int,boolean)">advancePeekPosition</a></span>&#8203;(int&nbsp;length,
                   boolean&nbsp;allowEndOfInput)</code></th>
<td class="colLast">
<div class="block">Advances the peek position by <code>length</code> bytes.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLength()">getLength</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the length of the source stream, or <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a> if it is unknown.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPeekPosition()">getPeekPosition</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the current peek position (byte offset) in the stream.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPosition()">getPosition</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the current read position (byte offset) in the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peek(byte%5B%5D,int,int)">peek</a></span>&#8203;(byte[]&nbsp;target,
    int&nbsp;offset,
    int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Peeks up to <code>length</code> bytes from the peek position.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peekFully(byte%5B%5D,int,int)">peekFully</a></span>&#8203;(byte[]&nbsp;target,
         int&nbsp;offset,
         int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Equivalent to <a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int,boolean)"><code>peekFully(target, offset, length,
 false)</code></a>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peekFully(byte%5B%5D,int,int,boolean)">peekFully</a></span>&#8203;(byte[]&nbsp;target,
         int&nbsp;offset,
         int&nbsp;length,
         boolean&nbsp;allowEndOfInput)</code></th>
<td class="colLast">
<div class="block">Like <a href="ExtractorInput.html#peek(byte%5B%5D,int,int)"><code>ExtractorInput.peek(byte[], int, int)</code></a>, but peeks the requested <code>length</code> in full.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#read(byte%5B%5D,int,int)">read</a></span>&#8203;(byte[]&nbsp;target,
    int&nbsp;offset,
    int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Reads up to <code>length</code> bytes from the input and resets the peek position.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFully(byte%5B%5D,int,int)">readFully</a></span>&#8203;(byte[]&nbsp;target,
         int&nbsp;offset,
         int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Equivalent to <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)"><code>readFully(target, offset, length,
 false)</code></a>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFully(byte%5B%5D,int,int,boolean)">readFully</a></span>&#8203;(byte[]&nbsp;target,
         int&nbsp;offset,
         int&nbsp;length,
         boolean&nbsp;allowEndOfInput)</code></th>
<td class="colLast">
<div class="block">Like <a href="ExtractorInput.html#read(byte%5B%5D,int,int)"><code>ExtractorInput.read(byte[], int, int)</code></a>, but reads the requested <code>length</code> in full.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetPeekPosition()">resetPeekPosition</a></span>()</code></th>
<td class="colLast">
<div class="block">Resets the peek position to equal the current read position.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>&lt;E extends <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top">Throwable</a>&gt;<br>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRetryPosition(long,E)">setRetryPosition</a></span>&#8203;(long&nbsp;position,
                E&nbsp;e)</code></th>
<td class="colLast">
<div class="block">Called when reading fails and the required retry position is different from the last position.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skip(int)">skip</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Like <a href="ExtractorInput.html#read(byte%5B%5D,int,int)"><code>ExtractorInput.read(byte[], int, int)</code></a>, except the data is skipped instead of read.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipFully(int)">skipFully</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Like <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int)"><code>ExtractorInput.readFully(byte[], int, int)</code></a>, except the data is skipped instead of read.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#skipFully(int,boolean)">skipFully</a></span>&#8203;(int&nbsp;length,
         boolean&nbsp;allowEndOfInput)</code></th>
<td class="colLast">
<div class="block">Like <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)"><code>ExtractorInput.readFully(byte[], int, int, boolean)</code></a>, except the data is skipped instead of read.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(com.google.android.exoplayer2.extractor.ExtractorInput)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ForwardingExtractorInput</h4>
<pre>public&nbsp;ForwardingExtractorInput&#8203;(<a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a>&nbsp;input)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a id="read(byte[],int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;read&#8203;(byte[]&nbsp;target,
                int&nbsp;offset,
                int&nbsp;length)
         throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#read(byte%5B%5D,int,int)">ExtractorInput</a></code></span></div>
<div class="block">Reads up to <code>length</code> bytes from the input and resets the peek position.

 <p>This method blocks until at least one byte of data can be read, the end of the input is
 detected, or an exception is thrown.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../upstream/DataReader.html#read(byte%5B%5D,int,int)">read</a></code>&nbsp;in interface&nbsp;<code><a href="../upstream/DataReader.html" title="interface in com.google.android.exoplayer2.upstream">DataReader</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#read(byte%5B%5D,int,int)">read</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The maximum number of bytes to read from the input.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The number of bytes read, or <a href="../C.html#RESULT_END_OF_INPUT"><code>C.RESULT_END_OF_INPUT</code></a> if the input has ended.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="readFully(byte[],int,int,boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFully</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;readFully&#8203;(byte[]&nbsp;target,
                         int&nbsp;offset,
                         int&nbsp;length,
                         boolean&nbsp;allowEndOfInput)
                  throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)">ExtractorInput</a></code></span></div>
<div class="block">Like <a href="ExtractorInput.html#read(byte%5B%5D,int,int)"><code>ExtractorInput.read(byte[], int, int)</code></a>, but reads the requested <code>length</code> in full.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)">readFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The number of bytes to read from the input.</dd>
<dd><code>allowEndOfInput</code> - True if encountering the end of the input having read no data is
     allowed, and should result in <code>false</code> being returned. False if it should be
     considered an error, causing an <a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>EOFException</code></a> to be thrown. See note in class
     Javadoc.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the read was successful. False if <code>allowEndOfInput=true</code> and the end of
     the input was encountered having read no data.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered having partially satisfied the read
     (i.e. having read at least one byte, but fewer than <code>length</code>), or if no bytes were
     read and <code>allowEndOfInput</code> is false.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="readFully(byte[],int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFully</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;readFully&#8203;(byte[]&nbsp;target,
                      int&nbsp;offset,
                      int&nbsp;length)
               throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#readFully(byte%5B%5D,int,int)">ExtractorInput</a></code></span></div>
<div class="block">Equivalent to <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)"><code>readFully(target, offset, length,
 false)</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#readFully(byte%5B%5D,int,int)">readFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The number of bytes to read from the input.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="skip(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skip</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;skip&#8203;(int&nbsp;length)
         throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#skip(int)">ExtractorInput</a></code></span></div>
<div class="block">Like <a href="ExtractorInput.html#read(byte%5B%5D,int,int)"><code>ExtractorInput.read(byte[], int, int)</code></a>, except the data is skipped instead of read.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#skip(int)">skip</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The maximum number of bytes to skip from the input.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The number of bytes skipped, or <a href="../C.html#RESULT_END_OF_INPUT"><code>C.RESULT_END_OF_INPUT</code></a> if the input has ended.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="skipFully(int,boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipFully</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;skipFully&#8203;(int&nbsp;length,
                         boolean&nbsp;allowEndOfInput)
                  throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#skipFully(int,boolean)">ExtractorInput</a></code></span></div>
<div class="block">Like <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int,boolean)"><code>ExtractorInput.readFully(byte[], int, int, boolean)</code></a>, except the data is skipped instead of read.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#skipFully(int,boolean)">skipFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes to skip from the input.</dd>
<dd><code>allowEndOfInput</code> - True if encountering the end of the input having skipped no data is
     allowed, and should result in <code>false</code> being returned. False if it should be
     considered an error, causing an <a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>EOFException</code></a> to be thrown. See note in class
     Javadoc.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the skip was successful. False if <code>allowEndOfInput=true</code> and the end of
     the input was encountered having skipped no data.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered having partially satisfied the skip
     (i.e. having skipped at least one byte, but fewer than <code>length</code>), or if no bytes were
     skipped and <code>allowEndOfInput</code> is false.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="skipFully(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipFully</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;skipFully&#8203;(int&nbsp;length)
               throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#skipFully(int)">ExtractorInput</a></code></span></div>
<div class="block">Like <a href="ExtractorInput.html#readFully(byte%5B%5D,int,int)"><code>ExtractorInput.readFully(byte[], int, int)</code></a>, except the data is skipped instead of read.

 <p>Encountering the end of input is always considered an error, and will result in an <a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>EOFException</code></a> being thrown.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#skipFully(int)">skipFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes to skip from the input.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs reading from the input.</dd>
</dl>
</li>
</ul>
<a id="peek(byte[],int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peek</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;peek&#8203;(byte[]&nbsp;target,
                int&nbsp;offset,
                int&nbsp;length)
         throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#peek(byte%5B%5D,int,int)">ExtractorInput</a></code></span></div>
<div class="block">Peeks up to <code>length</code> bytes from the peek position. The current read position is left
 unchanged.

 <p>This method blocks until at least one byte of data can be peeked, the end of the input is
 detected, or an exception is thrown.

 <p>Calling <a href="ExtractorInput.html#resetPeekPosition()"><code>ExtractorInput.resetPeekPosition()</code></a> resets the peek position to equal the current read
 position, so the caller can peek the same data again. Reading or skipping also resets the peek
 position.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#peek(byte%5B%5D,int,int)">peek</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The maximum number of bytes to peek from the input.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The number of bytes peeked, or <a href="../C.html#RESULT_END_OF_INPUT"><code>C.RESULT_END_OF_INPUT</code></a> if the input has ended.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs peeking from the input.</dd>
</dl>
</li>
</ul>
<a id="peekFully(byte[],int,int,boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peekFully</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;peekFully&#8203;(byte[]&nbsp;target,
                         int&nbsp;offset,
                         int&nbsp;length,
                         boolean&nbsp;allowEndOfInput)
                  throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int,boolean)">ExtractorInput</a></code></span></div>
<div class="block">Like <a href="ExtractorInput.html#peek(byte%5B%5D,int,int)"><code>ExtractorInput.peek(byte[], int, int)</code></a>, but peeks the requested <code>length</code> in full.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int,boolean)">peekFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The number of bytes to peek from the input.</dd>
<dd><code>allowEndOfInput</code> - True if encountering the end of the input having peeked no data is
     allowed, and should result in <code>false</code> being returned. False if it should be
     considered an error, causing an <a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>EOFException</code></a> to be thrown. See note in class
     Javadoc.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the peek was successful. False if <code>allowEndOfInput=true</code> and the end of
     the input was encountered having peeked no data.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered having partially satisfied the peek
     (i.e. having peeked at least one byte, but fewer than <code>length</code>), or if no bytes were
     peeked and <code>allowEndOfInput</code> is false.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs peeking from the input.</dd>
</dl>
</li>
</ul>
<a id="peekFully(byte[],int,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peekFully</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;peekFully&#8203;(byte[]&nbsp;target,
                      int&nbsp;offset,
                      int&nbsp;length)
               throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int)">ExtractorInput</a></code></span></div>
<div class="block">Equivalent to <a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int,boolean)"><code>peekFully(target, offset, length,
 false)</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int)">peekFully</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - A target array into which data should be written.</dd>
<dd><code>offset</code> - The offset into the target array at which to write.</dd>
<dd><code>length</code> - The number of bytes to peek from the input.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs peeking from the input.</dd>
</dl>
</li>
</ul>
<a id="advancePeekPosition(int,boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>advancePeekPosition</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;advancePeekPosition&#8203;(int&nbsp;length,
                                   boolean&nbsp;allowEndOfInput)
                            throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#advancePeekPosition(int,boolean)">ExtractorInput</a></code></span></div>
<div class="block">Advances the peek position by <code>length</code> bytes. Like <a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int,boolean)"><code>ExtractorInput.peekFully(byte[], int, int,
 boolean)</code></a> except the data is skipped instead of read.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#advancePeekPosition(int,boolean)">advancePeekPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes by which to advance the peek position.</dd>
<dd><code>allowEndOfInput</code> - True if encountering the end of the input before advancing is allowed,
     and should result in <code>false</code> being returned. False if it should be considered an
     error, causing an <a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>EOFException</code></a> to be thrown. See note in class Javadoc.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if advancing the peek position was successful. False if <code>
     allowEndOfInput=true</code> and the end of the input was encountered before advancing over any
     data.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered having partially advanced (i.e. having
     advanced by at least one byte, but fewer than <code>length</code>), or if the end of input was
     encountered before advancing and <code>allowEndOfInput</code> is false.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs advancing the peek position.</dd>
</dl>
</li>
</ul>
<a id="advancePeekPosition(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>advancePeekPosition</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;advancePeekPosition&#8203;(int&nbsp;length)
                         throws <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#advancePeekPosition(int)">ExtractorInput</a></code></span></div>
<div class="block">Advances the peek position by <code>length</code> bytes. Like <a href="ExtractorInput.html#peekFully(byte%5B%5D,int,int)"><code>ExtractorInput.peekFully(byte[], int, int)</code></a>
 except the data is skipped instead of read.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#advancePeekPosition(int)">advancePeekPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The number of bytes to peek from the input.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://developer.android.com/reference/java/io/EOFException.html" title="class or interface in java.io" class="externalLink" target="_top">EOFException</a></code> - If the end of input was encountered.</dd>
<dd><code><a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top">IOException</a></code> - If an error occurs peeking from the input.</dd>
</dl>
</li>
</ul>
<a id="resetPeekPosition()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetPeekPosition</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;resetPeekPosition()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#resetPeekPosition()">ExtractorInput</a></code></span></div>
<div class="block">Resets the peek position to equal the current read position.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#resetPeekPosition()">resetPeekPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
</dl>
</li>
</ul>
<a id="getPeekPosition()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPeekPosition</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPeekPosition()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#getPeekPosition()">ExtractorInput</a></code></span></div>
<div class="block">Returns the current peek position (byte offset) in the stream.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#getPeekPosition()">getPeekPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The peek position (byte offset) in the stream.</dd>
</dl>
</li>
</ul>
<a id="getPosition()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPosition</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getPosition()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#getPosition()">ExtractorInput</a></code></span></div>
<div class="block">Returns the current read position (byte offset) in the stream.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#getPosition()">getPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The read position (byte offset) in the stream.</dd>
</dl>
</li>
</ul>
<a id="getLength()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getLength()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#getLength()">ExtractorInput</a></code></span></div>
<div class="block">Returns the length of the source stream, or <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a> if it is unknown.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#getLength()">getLength</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The length of the source stream, or <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a>.</dd>
</dl>
</li>
</ul>
<a id="setRetryPosition(long,java.lang.Throwable)">
<!--   -->
</a><a id="setRetryPosition(long,E)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setRetryPosition</h4>
<pre class="methodSignature">public&nbsp;&lt;E extends <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top">Throwable</a>&gt;&nbsp;void&nbsp;setRetryPosition&#8203;(long&nbsp;position,
                                                   E&nbsp;e)
                                            throws E extends <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top">Throwable</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ExtractorInput.html#setRetryPosition(long,E)">ExtractorInput</a></code></span></div>
<div class="block">Called when reading fails and the required retry position is different from the last position.
 After setting the retry position it throws the given <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Throwable</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ExtractorInput.html#setRetryPosition(long,E)">setRetryPosition</a></code>&nbsp;in interface&nbsp;<code><a href="ExtractorInput.html" title="interface in com.google.android.exoplayer2.extractor">ExtractorInput</a></code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>E</code> - Type of <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Throwable</code></a> to be thrown.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>position</code> - The required retry position.</dd>
<dd><code>e</code> - <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Throwable</code></a> to be thrown.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>E</code> - The given <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top"><code>Throwable</code></a> object.</dd>
<dd><code>E extends <a href="https://developer.android.com/reference/java/lang/Throwable.html" title="class or interface in java.lang" class="externalLink" target="_top">Throwable</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>
